package com.ys.peony.ui.activity;

import android.view.View;
import android.webkit.WebView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.ys.peony.R;
import com.ys.peony.base.BaseActivity;

import butterknife.BindView;

/**
 * describe:关于远升个金
 * author:zhangcong
 * date:2017/6/13 22:53
 */
public class AboutActivity extends BaseActivity implements View.OnClickListener {

    @BindView(R.id.back_btn)
    RelativeLayout backBtn;

    @BindView(R.id.title_name_tv)
    TextView tvTitleName;

    @BindView(R.id.webview)
    WebView webView;

    @Override
    protected int getContentResId() {
        return R.layout.activity_about;
    }

    @Override
    protected void initView() {
        tvTitleName.setText(R.string.label_about);
        backBtn.setOnClickListener(this);
        webView.loadUrl("http://www.mudanjf.com");
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.back_btn:
                finish();
                break;
        }
    }
}
